<div class="header">

<div class="h_wrap">

<div class="h_l">
<a href="#"><h2 class="logo">manhuaguoji.com.com</h2></a>
</div><!--h_l-->

<div class="h_r">
<? if(!self::$login):?>
已经有帐号了？<a href="<?= $this->_makeURL('index', 'index', 'login')?>">登录</a><a href="http://account.manhuaguoji.com.com/?p=register">免费注册</a>
<? else:?>
<form action='http://bbs.ngacn.cc/nuke.php' method="post" style="display: inline" id="extra_login_form">
<input type='hidden' name='func' value='login'/>
<input type='hidden' name='uid' value='<?= self::$login['uid']?>'/>
<input type='hidden' name='cid' value='<?= $_COOKIE['_sid']?>'/>
<input type='hidden' name='serial' value='<?= make_md5_request_data( array('uid'=>self::$login['uid'], 'cid'=>$_COOKIE['_sid'], 'ts'=>$_SERVER['REQUEST_TIME']), 'holyshit')?>'/>
<input type='hidden' name='expires' value='<?= $_COOKIE['_e']?>'/>
<span class="prompt" style="color: #f00"><span class="icon-prompt"></span>
<a class="loginbbsbtn" href="javascript: $('extra_login_form').action='http://nga.manhuaguoji.com.com/nuke.php'; $('extra_login_form').submit(); ">登录nga论坛</a>
<a class="loginbbsbtn" href="javascript: $('extra_login_form').action='http://sc.manhuaguoji.com.com/nuke.php'; $('extra_login_form').submit();">登录sc2论坛</a>
<a class="loginbbsbtn" href="http://bbs.manhuaguoji.com.com">登录manhuaguoji.com</a>
</span>
</form>
你好，<?=self::$login['nickname']?>(<?= self::$login['uid']?>) 
<span>
<a href="<?= self::_makeURL('friends', 'invitation', 'invite_form')?>">邀请</a>
<a href="<?= self::_makeURL('index', 'setting', 'prop')?>">设置</a>
<a href="<?= self::_makeURL('index', 'setting', 'privacy')?>">隐私</a>
<script>
function delay_message(){ 
	new PeriodicalExecuter(
		function(pe){
			pe.stop(); 
			new MessageBox(MessageBox.TYPE_YES_NO, 2, 'bbb',{});
		},0.1
	);
}
</script>
<a href="javascript: void(new MessageBox(MessageBox.TYPE_OK_CANCEL, 1, 'aaa', {ok: delay_message}))">按钮</a>
<!--<a href="#">帮助</a>-->
</span>
<a href='<?= $this->_makeURL('index', 'index', 'logout')?>'>退出</a> 

<? endif;?>
</div>
<!--h_r-->

<div class="h_nav">
<ul>
<li><a href="<?= Controller::_makeURL()?>" class="hnt4">我的首页</a></li>
<li><a href="<?= $this->_makeURL('friends', 'index', 'get_list', array('friend'=>1))?>">好友</a></li>
<li><a href="<?= $this->_makeURL('favorite2', 'index', 'my_list')?>">收藏</a></li>
<li><a href="<?= $this->_makeURL('sms', 'index', 'view_inbox')?>" id="sms_link"><span class="" id='new_pm'></span>短信</a></li>

<div class="clearfix">&nbsp;</div>
</ul>
<div class="clearfix">&nbsp;</div>
</div><!--h_nav end-->

<div class="allsearch">
<form action="/" method="get" onsubmit="return search_submit('search_key')">
<input type='hidden' name='_app' value='index'/>
<input type='hidden' name='_controller' value='search'/>
<input type='hidden' name='_action' value='user'/>
<input type="text" class="allsearch-input disable_form" name='key' id='search_key' onfocus="search_focus(this)" onblur="search_blur(this)" value='输入对方昵称进行搜索' style="color:gray"/>
<button class="allsearch-btn" type="submit"></button>
</form>
</div><!--allsearch end-->

<div class="clearfix">&nbsp;</div>
</div><!--h_wrap end-->

</div><!--header end-->

<div class="tip-wrap">
<?php
if($msg = $this->getMessage()){
	include_once('part_msg.phtml');
}
?>

<?
if($msgs = Controller::getFloatMessage()){
?>
<script>
<? foreach($msgs as $msg):?>
FloatMessage.add("<?= addslashes($msg)?>", 1.2);
<?endforeach;?>
</script>
<?}?>
</div>